package com.nwl.crm.dao;

import com.nwl.crm.dto.PlatformDto;
import com.nwl.crm.po.Platform;
import com.nwl.crm.po.PlatformExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface PlatformMapper {

    /**
     * 分页获取数据
     * @param dto
     * @return
     */
    long countBy(PlatformDto dto);
    List<Platform> layuiList(PlatformDto dto);

    long countByExample(PlatformExample example);

    int deleteByExample(PlatformExample example);

    int deleteByPrimaryKey(String id);

    int insert(Platform record);

    int insertSelective(Platform record);

    List<Platform> selectByExample(PlatformExample example);

    Platform selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") Platform record, @Param("example") PlatformExample example);

    int updateByExample(@Param("record") Platform record, @Param("example") PlatformExample example);

    int updateByPrimaryKeySelective(Platform record);

    int updateByPrimaryKey(Platform record);
}